<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
</head>
<body>
<form action="rr/Servlet2" method="post">
    <label> 用户名: <input name="username" type="text"> </label> <br>
    <label> 密码: <input name="password" type="password"> </label> <br>
    爱好:
    <label> <input name="hobby" type="checkbox" value="1"> 唱 </label>
    <label> <input name="hobby" type="checkbox" value="2"> 跳 </label>
    <label> <input name="hobby" type="checkbox" value="3"> rap </label>
    <label> <input name="hobby" type="checkbox" value="4"> 篮球 </label>
    <label> <input name="hobby" type="checkbox" value="5"> 当小黑子 </label> <br>
    <input type="submit" value="提交">
</form>
</body>
</html>